package com.happyrecyclingstation.service;

import com.happyrecyclingstation.dto.AIResumeQuery;
import com.happyrecyclingstation.dto.ResumeDto;
import com.happyrecyclingstation.utils.Result;
import com.happyrecyclingstation.vo.HrResumeVO;
import com.happyrecyclingstation.vo.PageResult;
import com.happyrecyclingstation.vo.ResumeVO;
import jakarta.servlet.http.HttpServletRequest;

import java.time.LocalDateTime;
import java.util.List;

public interface ResumeService {
    /**
     * 保存简历
     * @param resumeDto
     */
    void saveResume(ResumeDto resumeDto);

	/**
	 * 通过用户id获取简历
	 * @return
	 */
    ResumeVO getResumeByUserId();

	/**
	 * 发送简历
	 * @param companyId
	 * @param positionId
	 */
	Result sendResume(Integer companyId, Integer positionId);

	/**
	 * hr获取简历
	 * @return
	 */
	Result getResume(Integer posId, Short isView, LocalDateTime createTime, Integer currentPage, Integer pageSize);

	/**
	 * 通过简历id获取简历
	 * @param id
	 * @return
	 */
	ResumeVO getResumeById(Integer id);

	/**
	 * 询问ai方式查询简历
	 * @param query
	 * @return
	 */
	List<ResumeVO> getAiResume(AIResumeQuery query);
}
